package org.nupter.mmruby;

import android.app.Application;

import com.parse.Parse;
import com.parse.ParseInstallation;
import com.parse.PushService;


public class MyApplication  extends Application {

    private static MyApplication instance;


    @Override
    public void onCreate() {
        super.onCreate();
        instance = this;

        Parse.initialize(this, "y2Hps6UHMnASi2FO2kNGlkValwSd4ZqMK6fAWwor", "EIhtjGkIdZr50MESKQB9vUyyDsnQtaFvYeL4ztis");

        PushService.setDefaultPushCallback(this, MainActivity.class);
        ParseInstallation.getCurrentInstallation().saveInBackground();


    }

    public static MyApplication getInstance() {
        return instance;
    }




}